﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using FTchina;
public partial class smstask_getusertype : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            string senderid = FTchina.basic.SafeRequest(Request["senderid"]);
            string sql = "select top 1 utype,utitle from SenderList where senderID=@senderid";
            SqlParameter[] para = new SqlParameter[]
        {
            new SqlParameter("@senderid",senderid )
        };
            DataTable dt = shujuku.GetDataTable(sql, para);
            Response.Write(dt.Rows[0][0].ToString() + "," + dt.Rows[0][1].ToString());
        }
        catch (Exception er)
        {

        }
    }
}